package Administrator.AdministratorMainFrame.AdministratorMainFrameView.ConfigureContestPane;

import javax.swing.*;
import javax.swing.JTabbedPane;

public class ConfigureContestPane extends JTabbedPane
{
    public ConfigureContestPane()
    {
        accountsPane = new AccountsPane();
        autoJudgePane = new AutoJudgePane();
        problemsPane = new ProblemsPane();
        languagePane = new LanguagePane();
        timesPane = new TimesPane();
        settingsPane = new SettingsPane();
        judgementsPane = new JudgementsPane();
        
        this.addTab("Accounts", null, accountsPane, null);
        this.addTab("Auto Judge", null, autoJudgePane, null);
        this.addTab("Problems", null, problemsPane,null);
        this.addTab("language", null, languagePane,null);
        this.addTab("Times", null, timesPane,null);
        this.addTab("Settings", null, settingsPane,null);
        this.addTab("Judgements", null, judgementsPane,null);
    }
    
    public AccountsPane getAccountsPane()
    {
    	return this.accountsPane;
    }
    public AutoJudgePane getAutoJudgePane()
    {
    	return this.autoJudgePane;
    }
    public ProblemsPane getProblemsPane()
    {
    	return this.problemsPane;
    }
    public LanguagePane getLanguagePane()
    {
    	return this.languagePane;
    }
    public TimesPane getTimesPane()
    {
    	return this.timesPane;
    }
    public SettingsPane getSettingsPane()
    {
    	return this.settingsPane;
    }
    public JudgementsPane getJudgementsPane()
    {
    	return this.judgementsPane;
    }
    
    
    public AccountsPane accountsPane;
    public AutoJudgePane autoJudgePane;
    public ProblemsPane problemsPane;
    public LanguagePane languagePane;
    public TimesPane timesPane;
    public SettingsPane settingsPane;
    public JudgementsPane judgementsPane;
}
